<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2015/4/18
  Time: 18:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户列表</title>
</head>
<body>
${param.kill}
<c:if test="${not empty param.kill}">
    已杀死${param.kill}会话
</c:if>

<hr/>
<c:forEach items="${userList}" var="user">
    ${user.getAttribute("user").user.name} &nbsp;&nbsp;&nbsp;&nbsp;
    <a href="/kill.htm?sessionId=${user.id}">杀死会话</a> <br/>
</c:forEach>


</body>
</html>
